home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global lseries, geditmode, gnowseries, gnowtitle, gnowgroup, gebitmap, geprotect, gegroup, gecheckbox, gecheck, gbitmap, gprotect, ggroup, gcheckbox, gcheck, gcomment, lsortedt, gedited
- set gedited to 1
- case geditmode of
- 1, 3:
- if geditmode = 3 then
- set gnowseries to gnowseries + 1
- end if
- addAt(lseries, gnowseries, birth(script "Series Script"))
- set ls to getAt(lseries, gnowseries)
- setseries(ls, the text of member "Series")
- set lt to getAt(the ltitle of ls, 1)
- settitle(lt, the text of member "Title")
- set lg to getAt(the lgroup of lt, 1)
- setgroup(lg, "0" & gegroup & "10", gebitmap, the text of member "Comment2")
- set gnowtitle to 1
- set gnowgroup to 1
- set lsortedt to [:]
- set gnowlistptr to 1
- makesortlist()
- 2:
- set ls to getAt(lseries, gnowseries)
- setseries(ls, the text of member "Series")
- set lsortedt to [:]
- set gnowlistptr to 1
- makesortlist()
- 4, 6:
- if geditmode = 6 then
- set gnowtitle to gnowtitle + 1
- end if
- set ls to getAt(lseries, gnowseries)
- addAt(the ltitle of ls, gnowtitle, birth(script "Title Script"))
- set lt to getAt(the ltitle of ls, gnowtitle)
- settitle(lt, the text of member "Title")
- set lg to getAt(the lgroup of lt, 1)
- setgroup(lg, "0" & gegroup & "10", gebitmap, the text of member "Comment2")
- set gnowgroup to 1
- set lsortedt to [:]
- set gnowlistptr to 1
- makesortlist()
- 5:
- set ls to getAt(lseries, gnowseries)
- set lt to getAt(the ltitle of ls, gnowtitle)
- settitle(lt, the text of member "Title")
- set lsortedt to [:]
- set gnowlistptr to 1
- makesortlist()
- 7, 9:
- set ls to getAt(lseries, gnowseries)
- set lt to getAt(the ltitle of ls, gnowtitle)
- if geditmode = 9 then
- set gnowgroup to gnowgroup + 1
- end if
- addAt(the lgroup of lt, gnowgroup, birth(script "Group Script"))
- set lg to getAt(the lgroup of lt, gnowgroup)
- setgroup(lg, "0" & gegroup & "10", gebitmap, the text of member "Comment2")
- set lsortedt to [:]
- set gnowlistptr to 1
- makesortlist()
- 8:
- set ls to getAt(lseries, gnowseries)
- set lt to getAt(the ltitle of ls, gnowtitle)
- set lg to getAt(the lgroup of lt, gnowgroup)
- setgroup(lg, "0" & gegroup & gecheckbox & gecheck, gebitmap, the text of member "Comment2")
- end case
- repeat with t = 1 to 6
- set the puppet of sprite (t + 20) to 0
- end repeat
- set the puppet of sprite 3 to 0
- go("Top")
- end
-